﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DB;
using Model;
namespace Control
{
    public class CinemaHallController
    {
        IDbCinemaHall dbCh;
        public CinemaHallController()
        {
            dbCh = new DbCinemaHall();
        }

        public List<CinemaHall> FindAllCinemaHalls()
        {
            return dbCh.FindAllCinemaHalls();
        }
        public CinemaHall FindCinemaHall(string cName)
        {
            return dbCh.FindCinemaHallNew(cName,false);
        }
    }
}
